package com.shunda.ysdgj.manager.service.goods;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shunda.ysdgj.model.dto.base.IdsDto;
import com.shunda.ysdgj.model.dto.goods.GoodsSpecCategoryFindDto;
import com.shunda.ysdgj.model.entity.goods.GoodsSpecCategory;
import com.shunda.ysdgj.model.vo.goods.GoodsSpecCategoryVo;

import java.util.List;

public interface GoodsSpecCategoryService {
    public List<GoodsSpecCategoryVo> findAll();
    public List<GoodsSpecCategoryVo> findByType(Integer categoryType);
    public IPage<GoodsSpecCategory> findByPage(GoodsSpecCategoryFindDto goodsUnitFindDto);
    public boolean add(GoodsSpecCategory goodsUnit);
    public boolean modify(GoodsSpecCategory goodsUnit);
    public boolean deleteByIds(IdsDto idsDto);
}
